* Compilation and load flags * To load a kernel that can be co-resident with symmon * (for breakpoint debugging) replace LDOPTS * with the following. You must also INCLUDE prf and idbg. * *LDOPTS: -non_shared -N -e start -G 8 -elf -woff 84 -woff 47 -woff 17 -mips2 -o32 -nostdlib -T 88069000The active LDOPTS statement (the one without an initial asterisk) appears a few lines later. Remove the asterisk from the front of the debugging LDOPTS to make it active. Insert an asterisk to convert the original LDOPTS into a comment.
If you are entering an extended debugging period, make the modules permanent. Look for the lines in /var/sysgen/system/irix.sm that resemble the following:
* * Kernel debugging tools (see profiler(1M) and idbg(1M)) * EXCLUDE: idbg EXCLUDE: dmiidbg, grioidbg, xfsidbg, xlvidbg, cachefsidbg USE : prfChange these lines, if necessary, so that both idbg and prf are marked USE, not EXCLUDE. Verify that the file /var/sysgen/boot/idbg.o exists. It is normally installed with the debugging kernel feature.
Parts of the idbg support that are unique to particular filesystems are in the other modules listed in this area of irix.sm. Modules such as xlvidbg are useful to Silicon Graphics developers but are not likely to be helpful to developers of third-party drivers. However, it does no harm to change those modules from EXCLUDE to USE also.
* Required kernel modules ... * ksync - kernel synchronization routines (mutex_lock, sv_wait, psema...) * or * ksync_metered - metered kernel synchronization routines ... * KERNEL: kernel INCLUDE: os, disp, mem, zero INCLUDE: ksync EXCLUDE: ksync_meteredReverse the state of the two "ksync" lines so that ksync is excluded and ksync_metered is included.